unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72298: Should python-mode-abbrev-table declare :parents python-base-mode-abbrev-table?
@ 2024-07-25 18:13 Ship Mints
  2024-07-25 18:33 ` Ship Mints
  0 siblings, 1 reply; 8+ messages in thread
From: Ship Mints @ 2024-07-25 18:13 UTC (permalink / raw)
  To: 72298

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

I was expecting that python-base-mode-abbrev-table would apply to both
python-mode and python-ts-mode buffers. python-ts-mode doesn't derive from
python-mode so the abbrev tables aren't shared by default. Unless I'm
missing something, using a base table doesn't work for me.

(define-abbrev-table 'python-mode-abbrev-table ()
  "Abbrev table for Python mode."
;; should this:
  :parents (list python-mode-skeleton-abbrev-table))
;; be defined thusly?
  :parents (list python-base-mode-abbrev-table
python-mode-skeleton-abbrev-table))

I tried to find guidance on this outside of hacking abbrev tables manually
to be shared. Perhaps other people have the same expectation.

Thank you,

Stephane

[-- Attachment #2: Type: text/html, Size: 1525 bytes --]

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

end of thread, other threads:[~2024-08-31  9:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 18:13 bug#72298: Should python-mode-abbrev-table declare :parents python-base-mode-abbrev-table? Ship Mints
2024-07-25 18:33 ` Ship Mints
2024-08-17 13:53   ` Ship Mints
2024-08-24  8:45     ` Eli Zaretskii
2024-08-24 11:29       ` kobarity
2024-08-24 14:14         ` Ship Mints
2024-08-25  0:34           ` kobarity
2024-08-31  9:43             ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).