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?)
>
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
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,
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
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
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
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
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
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 "<")
>
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
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")
> > +
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
> > > +
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,
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")
> > +
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
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
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
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
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:
>
> =
"Jeff Sheinberg" <[EMAIL PROTECTED]> writes:
> Here is my workaround, is goes into my ~/.xsession file, which is
> a #!/bin/sh script,
>
> # Source profiles only if not yet done so.
> if test "${ENV:-}" != "${env:-}" ; then
> test -f /etc/profile && . /etc/profil
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
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
22 matches
Mail list logo