emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keybinding to duplicate the current line.


From: Deniz Dogan
Subject: Re: keybinding to duplicate the current line.
Date: Thu, 21 Jan 2010 10:47:31 +0100

2010/1/19 Deniz Dogan <address@hidden>:
> 2010/1/19 Richard Stallman <address@hidden>:
>>    If someone decides to look into this matter, could that person also
>>    see if there are any modes that make C-g part of any key sequences?
>>
>> Would you like to check for these problematical modes?
>> We could use your help.
>>
>
> I'm on a Windows system at the moment and I don't know how to properly
> install grep and other useful tools for the task, but having searched
> through all .el files in the "lisp" directory, I found the following
> bindings. Some of them are there to imitate other editors, so I guess
> they are okay, but these are the ones that I _personally_ believe
> could need some reviewing from more experienced Emacs hackers than
> myself.
>
> viper-keym.el
> (define-key viper-insert-diehard-map "\C-g" 'self-insert-command)
> (define-key viper-vi-basic-map "\C-c\C-g" 'viper-info-on-file)
> (define-key viper-vi-diehard-map "\C-g" 'viper-info-on-file)
>
> ws-mode.el
>  (define-key wordstar-mode-map "\C-g" 'delete-char)
>
> feedmail.el
>    (?\C-g . feedmail-message-action-edit)
>
> mh-letter.el
>  "\C-c\C-m\C-g"        mh-mh-compose-anon-ftp
>
> make-mode.el
>    (define-key map "\C-c\C-m\C-g" 'makefile-gmake-mode)
>
> vhdl-mode.el
>
>  (if (featurep 'xemacs) ; `... C-g' not allowed in XEmacs
>      (define-key vhdl-mode-map "\C-c\C-p\M-g" 'vhdl-port-paste-generic-map)
>    (define-key vhdl-mode-map "\C-c\C-p\C-g" 'vhdl-port-paste-generic-map))
>
>  (define-key vhdl-mode-map "\C-c\C-i\C-g" 'vhdl-indent-group)
>  (define-key vhdl-mode-map "\C-c\C-a\C-g" 'vhdl-align-group)
>  (define-key vhdl-mode-map "\C-c\C-f\C-g" 'vhdl-fill-group)
>  (define-key vhdl-mode-map "\C-c\C-l\C-g" 'goto-line)
>
> These were all found using a simple plain-text search for "\C-g", so I
> may very well have missed a lot of them. I think the findings in
> vhdl-mode.el are the most interesting, as the author clearly knew what
> he/she was doing, making a special case of XEmacs. :)
>
> --
> Deniz Dogan
>

If I want to "fix" these issues, should I contact each of the
maintainers for these modes individually? I'm still pretty new to this
whole process.

-- 
Deniz Dogan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]