Gnus development mailing list
 help / color / mirror / Atom feed
* *message* buffers have lost the `C-c C-a' binding
@ 2000-07-06 13:44 Karl Kleinpaste
  2000-07-06 16:14 ` Nevin Kapur
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Karl Kleinpaste @ 2000-07-06 13:44 UTC (permalink / raw)


In the latest CVS (July 06 ~9:30am), my *message* buffers have lost
the `C-c C-a' keybinding to attach files.  `C-h m' (mode help) still
claims it ought to exist...

       C-c C-a  mml-attach-file (attach a file as MIME).

...but `C-c C-a' now runs mail-interactive-insert-alias.

"mail-interactive-insert-alias" doesn't appear in any Gnus *.el.  And
there is still a define-key for mml-attach-file in message.el.

How can this keybinding be missing?

My environment makes no changes to *message* keybindings at all.

(XEmacs 21.2.b31)

--karl



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: *message* buffers have lost the `C-c C-a' binding
  2000-07-06 13:44 *message* buffers have lost the `C-c C-a' binding Karl Kleinpaste
@ 2000-07-06 16:14 ` Nevin Kapur
  2000-07-06 16:51 ` David S. Goldberg
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Nevin Kapur @ 2000-07-06 16:14 UTC (permalink / raw)


>>>>> "KK" == Karl Kleinpaste <karl@charcoal.com> writes:

 KK> In the latest CVS (July 06 ~9:30am), my *message* buffers have
 KK> lost the `C-c C-a' keybinding to attach files. 
 [...]
 KK> (XEmacs 21.2.b31)

I see the same behavior on XEmacs 21.1.10. `M-m f' still works.

-- 
Nevin



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: *message* buffers have lost the `C-c C-a' binding
  2000-07-06 13:44 *message* buffers have lost the `C-c C-a' binding Karl Kleinpaste
  2000-07-06 16:14 ` Nevin Kapur
@ 2000-07-06 16:51 ` David S. Goldberg
  2000-07-06 22:18   ` torkel
  2000-07-06 16:59 ` Kai Großjohann
  2000-07-06 17:09 ` torkel
  3 siblings, 1 reply; 6+ messages in thread
From: David S. Goldberg @ 2000-07-06 16:51 UTC (permalink / raw)


This is really strange.  mail-interactive-insert-alias is part of
mail-abbrevs and message.el does run mail-abbrev-setup after setting
up message-mode-map.  The weird thing is, according to a diff of the
cvs sources, that has been the case for several versions.  I can't see
anything in the latest diff that would change that.
-- 
Dave Goldberg
Post: The Mitre Corporation\MS K207\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: *message* buffers have lost the `C-c C-a' binding
  2000-07-06 13:44 *message* buffers have lost the `C-c C-a' binding Karl Kleinpaste
  2000-07-06 16:14 ` Nevin Kapur
  2000-07-06 16:51 ` David S. Goldberg
@ 2000-07-06 16:59 ` Kai Großjohann
  2000-07-06 17:09 ` torkel
  3 siblings, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2000-07-06 16:59 UTC (permalink / raw)
  Cc: ding

Karl Kleinpaste <karl@charcoal.com> writes:

> ...but `C-c C-a' now runs mail-interactive-insert-alias.

Hm.  This sounds like a mail-mode-map binding.  Is this true?  I
wonder why message mode now uses mail mode bindings?

kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: *message* buffers have lost the `C-c C-a' binding
  2000-07-06 13:44 *message* buffers have lost the `C-c C-a' binding Karl Kleinpaste
                   ` (2 preceding siblings ...)
  2000-07-06 16:59 ` Kai Großjohann
@ 2000-07-06 17:09 ` torkel
  3 siblings, 0 replies; 6+ messages in thread
From: torkel @ 2000-07-06 17:09 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> In the latest CVS (July 06 ~9:30am), my *message* buffers have lost
> the `C-c C-a' keybinding to attach files.  `C-h m' (mode help) still
> claims it ought to exist...
> 
>        C-c C-a  mml-attach-file (attach a file as MIME).
> 
> ...but `C-c C-a' now runs mail-interactive-insert-alias.
> 
> "mail-interactive-insert-alias" doesn't appear in any Gnus *.el.  And
> there is still a define-key for mml-attach-file in message.el.

It comes from the (XEmacs) mail-lib package, mail-abbrevs.el. 

> How can this keybinding be missing?

Because of this:

2000-06-26  Dave Love  <fx@gnu.org>

        * mm-decode.el (mm-image-fit-p): Use `image-size' in Emacs. 

        * message.el: Remove unnecessary `require'ments.  Defvar
        gnus-list-identifiers when compiling.  Don't try to autoload
        variable `gnus-list-identifiers'.  Autoload
        gnus-group-name-charset.
        (message-fetch-field): Don't assume `format' removes text
        properties.
        (message-strip-list-identifiers, message-reply, message-followup):
        Require gnus-sum.
        (message-mode): Tidy XEmacs conditionals.
        (message-replace-chars-in-string): Use subst-char-in-string when
        available.

Nowdays, message is loaded before mail-abbrevs, and therefore the
binding of C-c C-a is the one from mail-abbrevs. 

You can probably solve it by explicit load mail-abbrevs before gnus (I
have not tried)

/torkel



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: *message* buffers have lost the `C-c C-a' binding
  2000-07-06 16:51 ` David S. Goldberg
@ 2000-07-06 22:18   ` torkel
  0 siblings, 0 replies; 6+ messages in thread
From: torkel @ 2000-07-06 22:18 UTC (permalink / raw)


dsg@mitre.org (David S. Goldberg) writes:

> This is really strange.  mail-interactive-insert-alias is part of
> mail-abbrevs and message.el does run mail-abbrev-setup after setting
> up message-mode-map.  The weird thing is, according to a diff of the
> cvs sources, that has been the case for several versions.  I can't see
> anything in the latest diff that would change that.

Following patch, reverting part of Dave Love's cleanup, fixes the
problem:

Index: message.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v
retrieving revision 5.121
diff -u -r5.121 message.el
--- message.el	2000/07/02 10:03:03	5.121
+++ message.el	2000/07/05 22:11:49
@@ -35,6 +35,9 @@
   (defvar gnus-list-identifiers))	; gnus-sum is required where necessary
 (require 'mailheader)
 (require 'nnheader)
+(if (string-match "XEmacs\\|Lucid" emacs-version)
+    (require 'mail-abbrevs)
+      (require 'mailabbrev))
 (require 'mail-parse)
 (require 'mml)


Probably not the right thing to do, but solves the problem for now. 

/torkel



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-07-06 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-06 13:44 *message* buffers have lost the `C-c C-a' binding Karl Kleinpaste
2000-07-06 16:14 ` Nevin Kapur
2000-07-06 16:51 ` David S. Goldberg
2000-07-06 22:18   ` torkel
2000-07-06 16:59 ` Kai Großjohann
2000-07-06 17:09 ` torkel

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 NNTP newsgroup(s).