* bug#14413: 24.2; message-mode-abbrev-table
@ 2013-05-16 22:24 Emanuel Berg
2013-05-17 0:14 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2013-05-16 22:24 UTC (permalink / raw)
To: 14413
> (add-hook 'message-mode-hook
> (lambda ()
> ;; dynamic abbreviations for org-mode
> (setq local-abbrev-table message-mode-abbrev-table)))
"This should not be needed. Please M-x report-emacs-bug RET" (Stefan Monnier @ gnu.emacs.help)
In GNU Emacs 24.2.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10)
of 2012-09-09 on biber, modified by Debian
Configured using:
`configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-lisp:/usr/share/emacs/site-lisp'
'--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
'--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: en_US.UTF-8
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: utf-8-unix
default enable-multibyte-characters: t
Major mode: Article
Minor modes in effect:
gpm-mouse-mode: t
shell-dirtrack-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
transient-mark-mode: t
Recent input:
C-p C-n C-x 0 C-x o C-x m a h a SPC C-n C-n C-n C-n
a h a SPC C-x k y e s RET C-p C-p C-a C-@ C-n C-n C-n
C-e ESC w C-p C-p C-p C-p C-p C-p f C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-n C-n C-n C-n C-p C-e C-a
C-e C-a C-n C-k C-k C-p C-e RET RET Y e s , SPC w i
t h SPC t h e SPC a b o b e DEL DEL v e SPC c o d e
SPC i t SPC w o r k s SPC f o r SPC m e SPC a s SPC
w e l l . C-x 2 C-x o ESC x r e p o r t - b u g - e
m a c s RET TAB ESC DEL TAB C-g C-x o C-x o C-x b RET
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-x b RET
C-x C-b C-x o C-n C-n C-n C-n RET RET C-n RET C-x o
C-x o C-x o C-x 2 C-x o C-x o C-x o C-x o ESC x r e
p o r t - e m a c s - b u g RET C-g C-h f r e p o r
t - e m a c s - b u g RET C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-x 0 ESC x r e p o r t - b u DEL DEL
e m a c s - b u g RET
Recent messages:
Mark set
((lambda nil (set-message-mode-line) (auto-fill-mode -1) (set-variable (quote fill-column) 70) (local-set-key (kbd "C-a") (quote move-beginning-of-line)) (setq local-abbrev-table message-mode-abbrev-table)) (lambda nil (set-message-mode-line) (auto-fill-mode -1) (set-variable (quote fill-column) 70) (local-set-key (kbd "C-a") (quote move-beginning-of-line))))
Saving file /home/i/.emacs...
Wrote /home/i/.emacs
Parsing /home/i/.mailrc... done
Mark set [3 times]
Quit
byte-code: Beginning of buffer [6 times]
Quit
Type "q" to restore previous buffer, M-x scroll-up to scroll help.
Load-path shadows:
/usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-simple-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-c
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-mode
/usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/24.2/site-lisp/haskell-mode/inf-haskell
/usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-hugs
/usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-doc
/usr/share/emacs/site-lisp/haskell-mode/ghc-core hides /usr/share/emacs/24.2/site-lisp/haskell-mode/ghc-core
/usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-decl-scan
/usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-font-lock
/usr/share/emacs/site-lisp/haskell-mode/haskell-indentation hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-indentation
/usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-ghci
/usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-cabal
/usr/share/emacs/site-lisp/haskell-mode/haskell-site-file hides /usr/share/emacs/24.2/site-lisp/haskell-mode/haskell-site-file
/usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.2/lisp/hex-util
/usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.2/lisp/md4
/usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.2/lisp/textmodes/flyspell
/usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.2/lisp/textmodes/ispell
/usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.2/lisp/net/sasl-cram
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.2/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.2/lisp/net/hmac-md5
/usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.2/lisp/net/sasl
/usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.2/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.2/lisp/net/hmac-def
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.2/lisp/net/sasl-digest
Features:
(shadow emacsbug rmailsum rmailmm qp sort gnus-cite flow-fill
mail-extr gnus-async gnus-bcklg shr gnus-ml disp-table nndraft nnmh
nndoc nnfolder parse-time netrc gnutls network-stream starttls tls
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap nntp
gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range gnus-win newcomment skeleton
sh-script executable tabify help-fns help-mode view ffap mule-util
w3m-bookmark w3m-form w3m browse-url timezone w3m-hist w3m-e23 w3m-ccl
ccl w3m-fsf w3m-favicon w3m-image w3m-proc w3m-util t-mouse cus-edit
cus-start cus-load gnus gnus-ems nnheader wid-edit dired-x dired rmail
smtpmail auth-source eieio assoc gnus-util password-cache sendmail
message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mailabbrev mail-utils gmm-utils mailheader toggle-case inf-haskell
haskell-mode derived easymenu byte-opt bytecomp byte-compile cconv
macroexp pp cl compile shell pcomplete comint regexp-opt ansi-color
ring edmacro kmacro time-date paren w3m-load erlang-start tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#14413: 24.2; message-mode-abbrev-table
2013-05-16 22:24 bug#14413: 24.2; message-mode-abbrev-table Emanuel Berg
@ 2013-05-17 0:14 ` Glenn Morris
2013-05-17 0:43 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-05-17 0:14 UTC (permalink / raw)
To: Emanuel Berg; +Cc: 14413
Emanuel Berg wrote:
>> (add-hook 'message-mode-hook
>> (lambda ()
>> ;; dynamic abbreviations for org-mode
>> (setq local-abbrev-table message-mode-abbrev-table)))
>
> "This should not be needed. Please M-x report-emacs-bug RET" (Stefan
> Monnier @ gnu.emacs.help)
message-mode uses (has always used, AFAICS) the normal text-mode abbrev table:
(setq local-abbrev-table text-mode-abbrev-table)
What's the bug supposed to be?
That message-mode-abbrev-table exists at all, because message forgets to
pass an :abbrev argument to define-derived-mode?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#14413: 24.2; message-mode-abbrev-table
2013-05-17 0:14 ` Glenn Morris
@ 2013-05-17 0:43 ` Stefan Monnier
2013-05-18 0:32 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2013-05-17 0:43 UTC (permalink / raw)
To: Glenn Morris; +Cc: Emanuel Berg, 14413
> message-mode uses (has always used, AFAICS) the normal text-mode
> abbrev table:
> (setq local-abbrev-table text-mode-abbrev-table)
> What's the bug supposed to be?
> That message-mode-abbrev-table exists at all, because message forgets to
> pass an :abbrev argument to define-derived-mode?
The right thing is for message-mode to use message-mode-abbrev-table and
for this abbrev-table to inherit from text-mode-abbrev-table.
In theory, it should happen automatically (assuming we remove the above
offending setq) thanks to define-derived-mode.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#14413: 24.2; message-mode-abbrev-table
2013-05-17 0:43 ` Stefan Monnier
@ 2013-05-18 0:32 ` Glenn Morris
0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2013-05-18 0:32 UTC (permalink / raw)
To: 14413-done
Version: 24.4
Stefan Monnier wrote:
> The right thing is for message-mode to use message-mode-abbrev-table and
> for this abbrev-table to inherit from text-mode-abbrev-table.
> In theory, it should happen automatically (assuming we remove the above
> offending setq) thanks to define-derived-mode.
ok.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-18 0:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16 22:24 bug#14413: 24.2; message-mode-abbrev-table Emanuel Berg
2013-05-17 0:14 ` Glenn Morris
2013-05-17 0:43 ` Stefan Monnier
2013-05-18 0:32 ` Glenn Morris
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).