Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@charcoal.com>
Subject: gnus-delay.el needs to understand "linefeed" for the sake of xterm
Date: Mon, 30 Jul 2001 21:50:29 -0400	[thread overview]
Message-ID: <vxk66c9c1ei.fsf@cinnamon.vanillaknot.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

gnus-delay.el binds `C-c C-j' to gnus-delay-article.  This works fine
for XEmacs as an X window.  But when running XEmacs in an xterm,
XEmacs translates `C-j' to the XEmacs-internal symbol name "linefeed."
For this reason, the define-key needs to be duplicated, once for `C-j'
as it will be seen within X proper, and once for `linefeed' as it will
be seen via an xterm input stream.

Related question: Why `C-c C-j' in the first place?  I don't really
care, but I am curious what the mnemonic value of `C-j' was supposed
to be.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add `linefeed' keybinding --]
[-- Type: text/x-patch, Size: 477 bytes --]

--- lisp/gnus-delay.el.~1~	Thu Jul 26 09:03:56 2001
+++ lisp/gnus-delay.el	Mon Jul 30 21:07:08 2001
@@ -132,6 +132,7 @@
 Checking delayed messages is skipped if optional arg NO-CHECK is non-nil."
   (unless no-keymap
     (require 'message)
+    (define-key message-mode-map [(control c) linefeed] 'gnus-delay-article)
     (define-key message-mode-map (kbd "C-c C-j") 'gnus-delay-article))
   (unless no-check
     (add-hook 'gnus-get-new-news-hook 'gnus-delay-send-drafts)))

             reply	other threads:[~2001-07-31  1:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31  1:50 Karl Kleinpaste [this message]
2001-07-31  8:56 ` Kai Großjohann
2001-07-31 13:00   ` Karl Kleinpaste

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=vxk66c9c1ei.fsf@cinnamon.vanillaknot.com \
    --to=karl@charcoal.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.
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).