unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "paul r" <paul.r.ml@gmail.com>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Maintenance suggestion on an emacs mode
Date: Sun, 30 Mar 2008 16:13:09 +0100	[thread overview]
Message-ID: <e30f0f320803300813w1c056094u6157d0bcfc8fe643@mail.gmail.com> (raw)
In-Reply-To: <E1JfqR2-00039T-7J@fencepost.gnu.org>

2008/3/30, Richard Stallman <rms@gnu.org>:
>     Please find below the packages for which maintainer is FSF or
>     maintainer email does not work anymore.
>
>
> Thanks for reporting these.  They should indeed be fixed.
>  Would you like to write patches for them?
>

Here we go :

This one is fairly evident and can be applied straight.

diff -r 49597064d851 -r f00d6e37763a lisp/progmodes/delphi.el
--- a/lisp/progmodes/delphi.el  Sun Mar 30 16:22:49 2008 +0200
+++ b/lisp/progmodes/delphi.el  Sun Mar 30 16:31:19 2008 +0200
@@ -1890,10 +1890,10 @@ comment block. If not in a // comment, j
          (list '("\r" delphi-newline)
                '("\t" delphi-tab)
                '("\177" backward-delete-char-untabify)
-;;              '("\C-cd" delphi-find-current-def)
-;;              '("\C-cx" delphi-find-current-xdef)
-;;              '("\C-cb" delphi-find-current-body)
-               '("\C-cu" delphi-find-unit)
+;;              '("\C-c\C-d" delphi-find-current-def)
+;;              '("\C-c\C-x" delphi-find-current-xdef)
+;;              '("\C-c\C-b" delphi-find-current-body)
+               '("\C-c\C-f" delphi-find-unit)
                '("\M-q" delphi-fill-comment)
                '("\M-j" delphi-new-comment-line)
                ;; Debug bindings:



That one is less evident. Actually, HTML mode has a 'quick-keys'
option that is disabled by default. When enabled, C-c[a-z] keys
are bound. I do not know what users want, I'm not one of them,
but in case here is the patch. I just prefixed those keys by
"C-c C-q" (q for quick-key).

diff -r f00d6e37763a -r 7492320e7825 lisp/textmodes/sgml-mode.el
--- a/lisp/textmodes/sgml-mode.el       Sun Mar 30 16:31:19 2008 +0200
+++ b/lisp/textmodes/sgml-mode.el       Sun Mar 30 16:48:36 2008 +0200
@@ -1579,15 +1579,15 @@ This takes effect when first loading the
     (define-key map "\C-c\C-cn" 'html-name-anchor)
     (define-key map "\C-c\C-ci" 'html-image)
     (when html-quick-keys
-      (define-key map "\C-c-" 'html-horizontal-rule)
-      (define-key map "\C-co" 'html-ordered-list)
-      (define-key map "\C-cu" 'html-unordered-list)
-      (define-key map "\C-cr" 'html-radio-buttons)
-      (define-key map "\C-cc" 'html-checkboxes)
-      (define-key map "\C-cl" 'html-list-item)
-      (define-key map "\C-ch" 'html-href-anchor)
-      (define-key map "\C-cn" 'html-name-anchor)
-      (define-key map "\C-ci" 'html-image))
+      (define-key map "\C-c\C-q-" 'html-horizontal-rule)
+      (define-key map "\C-c\C-qo" 'html-ordered-list)
+      (define-key map "\C-c\C-qu" 'html-unordered-list)
+      (define-key map "\C-c\C-qr" 'html-radio-buttons)
+      (define-key map "\C-c\C-qc" 'html-checkboxes)
+      (define-key map "\C-c\C-ql" 'html-list-item)
+      (define-key map "\C-c\C-qh" 'html-href-anchor)
+      (define-key map "\C-c\C-qn" 'html-name-anchor)
+      (define-key map "\C-c\C-qi" 'html-image))
     (define-key map "\C-c\C-s" 'html-autoview-mode)
     (define-key map "\C-c\C-v" 'browse-url-of-buffer)
     (define-key map [menu-bar html] (cons "HTML" menu-map))




For this mode, keys are bound by default, so the patch should be
applied. As they all are quick keys, I prefixed them by "C-c C-q"
as well.

diff -r 7492320e7825 -r 2fe60049a07e lisp/progmodes/modula2.el
--- a/lisp/progmodes/modula2.el Sun Mar 30 16:48:36 2008 +0200
+++ b/lisp/progmodes/modula2.el Sun Mar 30 16:58:58 2008 +0200
@@ -75,30 +75,29 @@
 (if m2-mode-map ()
   (let ((map (make-sparse-keymap)))
     (define-key map "\^i" 'm2-tab)
-    (define-key map "\C-cb" 'm2-begin)
-    (define-key map "\C-cc" 'm2-case)
-    (define-key map "\C-cd" 'm2-definition)
-    (define-key map "\C-ce" 'm2-else)
-    (define-key map "\C-cf" 'm2-for)
-    (define-key map "\C-ch" 'm2-header)
-    (define-key map "\C-ci" 'm2-if)
-    (define-key map "\C-cm" 'm2-module)
-    (define-key map "\C-cl" 'm2-loop)
-    (define-key map "\C-co" 'm2-or)
-    (define-key map "\C-cp" 'm2-procedure)
-    (define-key map "\C-c\C-w" 'm2-with)
-    (define-key map "\C-cr" 'm2-record)
-    (define-key map "\C-cs" 'm2-stdio)
-    (define-key map "\C-ct" 'm2-type)
-    (define-key map "\C-cu" 'm2-until)
-    (define-key map "\C-cv" 'm2-var)
-    (define-key map "\C-cw" 'm2-while)
-    (define-key map "\C-cx" 'm2-export)
-    (define-key map "\C-cy" 'm2-import)
+    (define-key map "\C-c\C-qb" 'm2-begin)
+    (define-key map "\C-c\C-qc" 'm2-case)
+    (define-key map "\C-c\C-qd" 'm2-definition)
+    (define-key map "\C-c\C-qe" 'm2-else)
+    (define-key map "\C-c\C-qf" 'm2-for)
+    (define-key map "\C-c\C-qh" 'm2-header)
+    (define-key map "\C-c\C-qi" 'm2-if)
+    (define-key map "\C-c\C-ql" 'm2-loop)
+    (define-key map "\C-c\C-qm" 'm2-module)
+    (define-key map "\C-c\C-qo" 'm2-or)
+    (define-key map "\C-c\C-qp" 'm2-procedure)
+    (define-key map "\C-c\C-qr" 'm2-record)
+    (define-key map "\C-c\C-qs" 'm2-stdio)
+    (define-key map "\C-c\C-qt" 'm2-type)
+    (define-key map "\C-c\C-qu" 'm2-until)
+    (define-key map "\C-c\C-qv" 'm2-var)
+    (define-key map "\C-c\C-qw" 'm2-while)
+    (define-key map "\C-c\C-cW" 'm2-with)
+    (define-key map "\C-c\C-qx" 'm2-export)
+    (define-key map "\C-c\C-qy" 'm2-import)
     (define-key map "\C-c{" 'm2-begin-comment)
     (define-key map "\C-c}" 'm2-end-comment)
     (define-key map "\C-j"  'm2-newline)
-    (define-key map "\C-c\C-z" 'suspend-emacs)
     (define-key map "\C-c\C-v" 'm2-visit)
     (define-key map "\C-c\C-t" 'm2-toggle)
     (define-key map "\C-c\C-l" 'm2-link)




  reply	other threads:[~2008-03-30 15:13 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 22:06 Maintenance suggestion on an emacs mode paul r
2008-03-29 22:15 ` paul r
2008-03-30  5:50   ` Richard Stallman
2008-03-30 15:13     ` paul r [this message]
2008-03-30 19:55       ` Richard Stallman
2008-03-30 21:50       ` Mathias Dahl
2008-03-30 22:18         ` Stefan Monnier
2008-03-30 22:24           ` Mathias Dahl
2008-03-30 22:41             ` paul r
2008-03-31  1:57               ` Stefan Monnier
2008-03-31  8:02                 ` Mathias Dahl
2008-03-30 22:21       ` Stefan Monnier
2008-03-31 19:04         ` paul r
2008-04-03 22:20           ` Stefan Monnier
2008-04-03 22:31             ` paul r
2008-04-04  1:08           ` Stefan Monnier
2008-04-04 11:45             ` paul r
2008-04-04 11:54               ` Andreas Schwab
2008-04-04 12:04                 ` Paul Rivier
2008-04-04 13:54               ` Stefan Monnier
2008-04-09 21:29   ` Paul R
2008-04-21 17:29     ` Paul R
2008-04-22 20:28       ` Ralf Angeli
2008-04-22 20:53         ` Paul R
2008-04-23  5:28           ` Chong Yidong
2008-04-23 19:57             ` Stefan Monnier
2008-04-23 20:19               ` Ralf Angeli
2008-04-23 21:05                 ` Stefan Monnier
2008-04-23 21:20                   ` Lennart Borgman (gmail)
2008-04-24 20:23                   ` Ralf Angeli
2008-04-24 20:36                     ` Lennart Borgman (gmail)
2008-04-23 21:07                 ` Paul R
2008-04-24 20:12                   ` Ralf Angeli
2008-04-24 21:30       ` Reiner Steib
2008-03-30  5:50 ` Richard Stallman
2008-03-30 11:54 ` User reserved keybindings in `gnus-diary.el' (was: Maintenance suggestion on an emacs mode) Reiner Steib
2008-03-30 13:17   ` paul r
2008-03-30 13:23     ` paul r
2008-03-31  2:52     ` Stephen J. Turnbull
2008-04-01 10:46 ` Maintenance suggestion on an emacs mode Reto Zimmermann
2008-04-03 22:13   ` Stefan Monnier
2008-04-04  9:43     ` Reto Zimmermann
2008-04-05  3:43       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e30f0f320803300813w1c056094u6157d0bcfc8fe643@mail.gmail.com \
    --to=paul.r.ml@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /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.
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).