Re: Hyperlatex default emacs key bindings for Debian

2003-08-14 Thread Roland Stigge
Peter S Galbraith wrote: >> FWIW, it looks like C-c ! is still free (HYPERtext -> excitement?) >> as is C-c @. > >Cool. OK, I will take "C-c @", hoping this one to be obscure enough to be unique. :) Consider telling this the next one showing up and asking for "free" keys. :-) Thanks, Aaron, Peter

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Aaron M. Ucko <[EMAIL PROTECTED]> wrote: > Peter S Galbraith <[EMAIL PROTECTED]> writes: > > > No. Emacs21 from woody. reftex.el line161 even says: > > Ah, never mind, I just hadn't actually turned on that minor mode. :-) > FWIW, it looks like C-c ! is still free (HYPERtext -> excitement?) >

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
Folks, On Wed, 2003-08-13 at 21:38, Peter S Galbraith wrote: > C-c . runs the command LaTeX-mark-environment >which is an interactive compiled Lisp function in `latex'. > > You could say that's an AUC TeX bug and use it! :-) > > Okay, truth-telling time. I use "C-c b" to store a keymep for

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Aaron M. Ucko
Peter S Galbraith <[EMAIL PROTECTED]> writes: > No. Emacs21 from woody. reftex.el line161 even says: Ah, never mind, I just hadn't actually turned on that minor mode. FWIW, it looks like C-c ! is still free (HYPERtext -> excitement?) as is C-c @. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu,

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Aaron M. Ucko <[EMAIL PROTECTED]> wrote: > Peter S Galbraith <[EMAIL PROTECTED]> writes: > > > C-c < runs the command reftex-index > >which is an interactive autoloaded Lisp function in `reftex-index'. > > Not under either FSF Emacs 21 or XEmacs 21 on my system, which has > quite a few extra

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Aaron M. Ucko
Roland Stigge <[EMAIL PROTECTED]> writes: > And what if some other obscure package which I don't have installed > already uses it? You pretty much only really need to worry about conflicts with AucTeX, which is where latex.el comes from in the first place; just load it up, open a LaTeX file, and

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Roland Stigge <[EMAIL PROTECTED]> wrote: > > |* Sequences consisting of `C-c' followed by `{', `}', `<', `>', `:' > > | or `;' are also reserved for major modes. > > | > > |* Sequences consisting of `C-c' followed by any other punctuation > > | character are allocated for minor

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
On Wed, 2003-08-13 at 19:57, Peter S Galbraith wrote: > > Thanks. Is the additional define-key still appropriate? > > No. The above is all you need. OK. > > > But use a different key again. C-c C-c is already used in AUC-TeX's > > > LaTeX-mode-map: > > > > > > C-c C-c runs the command TeX-com

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Aaron M. Ucko
Peter S Galbraith <[EMAIL PROTECTED]> writes: > Roland Stigge <[EMAIL PROTECTED]> wrote: > >> Aaron M. Ucko wrote: >> > As for the actual binding: "C-c C-c h" is out, because "C-c C-c" is >> > already bound (quite usefully) to TeX-command-master and therefore >> > unavailable as a prefix. Perhaps

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Roland Stigge <[EMAIL PROTECTED]> wrote: > Aaron M. Ucko wrote: > > As for the actual binding: "C-c C-c h" is out, because "C-c C-c" is > > already bound (quite usefully) to TeX-command-master and therefore > > unavailable as a prefix. Perhaps "C-c <"? (Mnemonic: HTML tags start > > with "<") >

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
Aaron M. Ucko wrote: > As for the actual binding: "C-c C-c h" is out, because "C-c C-c" is > already bound (quite usefully) to TeX-command-master and therefore > unavailable as a prefix. Perhaps "C-c <"? (Mnemonic: HTML tags start > with "<") Good idea. Hands up against it. Else, I will use this

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
On Wed, 2003-08-13 at 19:11, Peter S Galbraith wrote: > > -(global-set-key "\C-ch" 'hyperlatex-format-buffer) > > +(eval-after-load "latex" > > +'(add-to-list 'after-load-alist > > + '("latex" (define-key LaTeX-mode-map > > + (kbd "C-c C-c h") > > +

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Roland Stigge <[EMAIL PROTECTED]> wrote: > On Wed, 2003-08-13 at 19:11, Peter S Galbraith wrote: > > > -(global-set-key "\C-ch" 'hyperlatex-format-buffer) > > > +(eval-after-load "latex" > > > +'(add-to-list 'after-load-alist > > > + '("latex" (define-key LaTeX-mode-map > > > +

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Aaron M. Ucko
Roland Stigge <[EMAIL PROTECTED]> writes: > Does the following look reasonable? Sorry, but no, the point of eval-after-load is avoiding the conditional: (eval-after-load "latex" '(define-key LaTeX-mode-map (kbd "...") 'hyperlatex-format-buffer)) As for the actual binding: "C-c C-c h" is out,

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Roland Stigge <[EMAIL PROTECTED]> wrote: > On Wed, 2003-08-13 at 17:24, Roland Stigge wrote: > > +(eval-after-load "latex" > > +(add-to-list 'after-load-alist > > + '("latex" (define-key LaTeX-mode-map > > + (kbd "C-c C-c h") > > +

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
On Wed, 2003-08-13 at 17:24, Roland Stigge wrote: > +(eval-after-load "latex" > +(add-to-list 'after-load-alist > + '("latex" (define-key LaTeX-mode-map > + (kbd "C-c C-c h") > + 'hyperlatex-format-buffer))) > + (define-ke

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
On Wed, 2003-08-13 at 16:59, Peter S Galbraith wrote: > > A user complained about the global keymap bindings for hyperlatex > > in emacs. Since Emacs Lisp is not my "native language", please > > acknowledge the following patch: > Perhaps use `eval-after-load' instead of the conditional. Does the

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Aaron M. Ucko
I'd suggest using eval-after-load rather than the "if" setup: (eval-after-load '(define-key ...)) Also, as Tatsuya said, it's best to leave "C-c " bindings free for user customization. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) Finger [EMAIL PROTECTED] (NOT a valid e-mai

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
Hi, Tatsuya Kinoshita wrote: > Don't use C-c LETTER, because these sequences are reserved for > users. > > "GNU Emacs Lisp Reference Manual": > > | Emacs Lisp CodingConventions > > |* Please do not define `C-c LETTER' as a key in your major modes. > | These sequences are reserved for user

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Peter S Galbraith
Roland Stigge <[EMAIL PROTECTED]> wrote: > Hi, > > I'm the maintainer of the Debian hyperlatex package. > > A user complained about the global keymap bindings for hyperlatex > in emacs. Since Emacs Lisp is not my "native language", please > acknowledge the following patch: > > =

Re: Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Tatsuya Kinoshita
On August 13, 2003 at 9:59AM +0200, Roland Stigge <[EMAIL PROTECTED]> wrote: > A user complained about the global keymap bindings for hyperlatex > in emacs. Since Emacs Lisp is not my "native language", please > acknowledge the following patch: > -(global-set-key "\C-ch" 'hyperlatex-format-buffer

Hyperlatex default emacs key bindings for Debian

2003-08-13 Thread Roland Stigge
Hi, I'm the maintainer of the Debian hyperlatex package. A user complained about the global keymap bindings for hyperlatex in emacs. Since Emacs Lisp is not my "native language", please acknowledge the following patch: == --- de

Re: Key bindings

2001-03-20 Thread Camm Maguire
Greetings! James LewisMoss <[EMAIL PROTECTED]> writes: > > On 20 Mar 2001 14:53:27 -0500, Camm Maguire <[EMAIL PROTECTED]> said: > > Camm> Greetings! And thanks so much for the info! But I've just > Camm> released a version using C-c . following the excerpt from > Camm> the elisp manua

Re: Key bindings

2001-03-20 Thread Alan Shutko
James LewisMoss <[EMAIL PROTECTED]> writes: > The bug was titled "shouldn't mess with keymap in the C-c [a-zA-Z] > arena" which cxref did. Oops. I thought it was referring to a literal C-c ? keymap, which is ok. > And before you jump off to take over the C-c C-c arena don't do it. > C-c C-x see

Re: Key bindings

2001-03-20 Thread James LewisMoss
> On 20 Mar 2001 14:53:27 -0500, Camm Maguire <[EMAIL PROTECTED]> said: Camm> Greetings! And thanks so much for the info! But I've just Camm> released a version using C-c . following the excerpt from Camm> the elisp manual posted by Alan Shutko earlier today. Is this Camm> acceptable?

Re: Key bindings

2001-03-20 Thread James LewisMoss
ting >> functions bound by default to C-c ? key combinations. A bug was >> filed, saying that C-c was reserved for the user. Alan> By my reading of the docs, the bug was incorrect. The bug was titled "shouldn't mess with keymap in the C-c [a-zA-Z] arena" which cxre

Re: Key bindings

2001-03-20 Thread Camm Maguire
Greetings! And thanks so much for the info! But I've just released a version using C-c . following the excerpt from the elisp manual posted by Alan Shutko earlier today. Is this acceptable? Would be easy to change again to C-c C-x, but I'd really like to get it right the next time, if there is

Re: Key bindings

2001-03-20 Thread Camm Maguire
Thank you so much for pointing out this doc! (and for your work on Debian!) Take care, Alan Shutko <[EMAIL PROTECTED]> writes: > Camm Maguire <[EMAIL PROTECTED]> writes: > > > Greetings! I maintain cxref, which does not provide an emacs minor > > mode, but does have an .el file with useful C

Re: Key bindings

2001-03-20 Thread Andreas Fuchs
Today, Camm Maguire <[EMAIL PROTECTED]> wrote: > Greetings! I maintain cxref, which does not provide an emacs minor > mode, but does have an .el file with useful C editing functions bound > by default to C-c ? key combinations. A bug was filed, saying that > C-c was reserved for the user. What c

Re: Key bindings

2001-03-20 Thread Alan Shutko
Camm Maguire <[EMAIL PROTECTED]> writes: > Greetings! I maintain cxref, which does not provide an emacs minor > mode, but does have an .el file with useful C editing functions bound > by default to C-c ? key combinations. A bug was filed, saying that > C-c was reserved for the user. By my readi

Key bindings

2001-03-20 Thread Camm Maguire
Greetings! I maintain cxref, which does not provide an emacs minor mode, but does have an .el file with useful C editing functions bound by default to C-c ? key combinations. A bug was filed, saying that C-c was reserved for the user. What can I use here? Please cc me directly, as I don't subsc