[Top][All Lists]

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

Re: /srv/bzr/emacs/trunk r101338: * lisp/emacs-lisp/syntax.el (syntax-pp

From: Stefan Monnier
Subject: Re: /srv/bzr/emacs/trunk r101338: * lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
Date: Mon, 17 Feb 2014 18:42:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Maybe have a secondary local variable that would point to the current
> submode (like mmm-current-mode).

I'd rather it be a function, but yes that's probably going to be the
better option.

>> As mentioned elsewhere, it might also be a better choice to let this
>> main major mode control the keymap.
> I'd rather not do that.  Some modes override common commands via the
> keymap, rather than some `-function[s]' hook.

There are advantages on each side.  We'll have to look at the actual
cases to have a better idea of what needs to be done when.


reply via email to

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