[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hi-lock-buffer-mode and hi-lock-mode do not follow normal convention
From: |
M Jared Finder |
Subject: |
hi-lock-buffer-mode and hi-lock-mode do not follow normal convention |
Date: |
Sat, 03 Dec 2005 08:18:44 -0800 |
User-agent: |
Debian Thunderbird 1.0.7 (X11/20051017) |
It seems that much of Emacs follows a convention for naming global minor
modes vs buffer local minor modes that hi-lock-mode does not follow.
The convention is for buffer local minor modes to be named
minor-mode-name and for global minor modes to be named
global-minor-mode-name.
I realize that previously hi-lock-mode was the global mode, and you want
to keep backward compatibility, but it is confusing to have multiple
conventions for the same thing.
Please change the function named hi-lock-mode to global-hi-lock-mode,
hi-lock-buffer-mode to hi-lock-mode.
This bit me because I don't like having the H for hi-lock-mode displayed
in the mode line, so I added
(setf (second (assoc 'hi-lock-mode minor-mode-alist)) nil)
to my init file. This just broke.
-- MJF
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.0.50/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.6.10)
of 2005-12-02 on pacem, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN -g
-Wno-pointer-sign -O2' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu''
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
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
longlines-mode: t
eldoc-mode: t
iswitchb-mode: t
hrule-mode: t
hi-lock-mode: t
hi-lock-buffer-mode: t
cua-mode: t
show-paren-mode: t
auto-compression-mode: t
mouse-wheel-mode: t
use-hard-newlines: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
n <return> <menu> l o n g l <tab> m <tab> <return>
C-x k <return> <menu> <up> <return> <menu> <up> <up>
<up> <up> <down> <down> <down> <down> <up> <up> C-g
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <report-emacs-bug> <up> <return> C-x o
C-x o <menu> l o n g SPC l i <tab> <backspace> <backspace>
m <tab> <return> C-x k <return> C-x o C-x b C-g C-x
C-f . e <tab> . <backspace> m <tab> . d <tab> t <tab>
<return> <down> <down> <tab> <M-delete> <end> C-x C-e
C-x o <menu> <up> <up> C-g <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>
Recent messages:
Longlines mode disabled
set-hard-newline-properties: Buffer is read-only: #<buffer hi-lock.el.gz>
next-history-element: Beginning of history; no preceding item
next-history-element: End of history; no default available
Quit
Longlines mode disabled
Quit
Making completion list...
(lambda nil "Auto-generated by `hook-minor-mode'")
Quit
- hi-lock-buffer-mode and hi-lock-mode do not follow normal convention,
M Jared Finder <=