emacs-devel
[Top][All Lists]
Advanced

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

Re: exposing the effective mode in a multi-mode


From: Tom Tromey
Subject: Re: exposing the effective mode in a multi-mode
Date: Tue, 19 Sep 2017 22:18:28 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>>>> "Dmitry" == Dmitry Gutov <address@hidden> writes:

Dmitry> So I thought it might be useful to return the name of the language
Dmitry> instead of the mode. The default implementation could look like this:

Are there modes that can adapt to multiple different major modes for
language, but without knowing the details of the major mode?  I don't
know but it seems iffy to me.

Dmitry> Can it return nil? When?

Copy-paste bug, I've fixed the comment.  Thanks.

Tom



reply via email to

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