all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* define-generic-mode: Derive from prog-mode?
@ 2020-09-29 19:35 T.V Raman
  2020-09-29 20:57 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: T.V Raman @ 2020-09-29 19:35 UTC (permalink / raw)
  To: emacs-devel

At present, modes defined through define-generic-mode do not appear to
inherit from prog-mode -- perhaps they should?

-- 

Thanks,

--Raman
♉ Id: kg:/m/0285kf1  🦮

-- 

Thanks,

--Raman
♉ Id: kg:/m/0285kf1  🦮



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: define-generic-mode: Derive from prog-mode?
  2020-09-29 19:35 define-generic-mode: Derive from prog-mode? T.V Raman
@ 2020-09-29 20:57 ` Stefan Monnier
  2020-09-29 20:59   ` T.V Raman
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2020-09-29 20:57 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> At present, modes defined through define-generic-mode do not appear to
> inherit from prog-mode -- perhaps they should?

Maybe.  IMO they should be rewritten to use `define-derived-mode` :-(


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: define-generic-mode: Derive from prog-mode?
  2020-09-29 20:57 ` Stefan Monnier
@ 2020-09-29 20:59   ` T.V Raman
  0 siblings, 0 replies; 3+ messages in thread
From: T.V Raman @ 2020-09-29 20:59 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 462 bytes --]

Stefan Monnier <monnier@iro.umontreal.ca> writes:

I'd agree  even more strongly with that than my earlier request, would
likely get rid of some code along the way >> At present, modes defined through define-generic-mode do not appear to
>> inherit from prog-mode -- perhaps they should?
>
> Maybe.  IMO they should be rewritten to use `define-derived-mode` :-(
>
>
>         Stefan
>
>

-- 

Thanks,

--Raman
7©4 Id: kg:/m/0285kf1  •0Ü8



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-29 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 19:35 define-generic-mode: Derive from prog-mode? T.V Raman
2020-09-29 20:57 ` Stefan Monnier
2020-09-29 20:59   ` T.V Raman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.