From: Jean Louis <bugs@gnu.support>
To: help-gnu-emacs@gnu.org
Subject: Re: Basic Question
Date: Wed, 23 Dec 2020 21:19:42 +0300 [thread overview]
Message-ID: <X+OKPtC2NxV2Wilx@protected.rcdrun.com> (raw)
In-Reply-To: <CAAWCt5w7PbyB7Yb1L74NUP4yOUkVW0BmyHpGkwX6R5mVGJkruw@mail.gmail.com>
* Gary Highberger <gary.highberger@gmail.com> [2020-12-23 21:02]:
> Hi Everyone,
>
> My end goal is to use emacs with gnu-smalltalk's built-in emacs interactive
> features.
>
> I am running Ubuntu 20.04 on a dual boot, Macbook Air.
>
> I installed and tested both the gui and terminal versions of emacs.
>
> Neither installation switches to content awareness for Smalltalk files
> (files with a .st extension).
>
> My Smalltalk files run fine on gnu-smalltalk and edit perfectly with
> (content aware) vim.
>
> Does emacs need to be configured to recognize Smalltalk files?
It says here:
https://www.gnu.org/software/smalltalk/manual/html_node/Emacs.html#Emacs
GNU Smalltalk comes with its own Emacs mode for hacking Smalltalk
code. It also provides tools for interacting with a running Smalltalk
system in an Emacs subwindow.
But maybe that Emacs package is not packaged in GNU Smalltalk
distribution.
I can find the smalltalk-mode.el here:
https://git.savannah.gnu.org/cgit/smalltalk.git/tree/?id=5a144882c9bbf2f9ad4dff7103f93f16981644a6
or here:
https://git.savannah.gnu.org/cgit/smalltalk.git/plain/smalltalk-mode.el?id=5a144882c9bbf2f9ad4dff7103f93f16981644a6
And I could open this file:
/usr/share/smalltalk/scripts/Test.st
and invoke M-x smalltalk-mode and see syntax highlighting.
There are other emacs packages here:
https://git.savannah.gnu.org/cgit/smalltalk.git/tree/?id=5a144882c9bbf2f9ad4dff7103f93f16981644a6
To automatically invoke the smalltalk mode, I guess you need this
setting:
(add-to-list 'auto-mode-alist '("\\.st$" . smalltalk-mode))
Jean
next prev parent reply other threads:[~2020-12-23 18:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 17:05 Basic Question Gary Highberger
2020-12-23 18:16 ` Eric Abrahamsen
2020-12-23 18:20 ` Jean Louis
2020-12-23 18:19 ` Jean Louis [this message]
2020-12-23 18:22 ` tomas
2020-12-23 19:19 ` Smalltalk-mode (was: Basic Question) Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X+OKPtC2NxV2Wilx@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.