Replies: 31 comments
-
Thank, you. I don't quite understand what do you mean by "adding emacs". Could you plase explain what exactly you expect? |
Beta Was this translation helpful? Give feedback.
-
Maybe Emacs.app? http://aiei.ch/emacs.png |
Beta Was this translation helpful? Give feedback.
-
An emacs app is what I was referring to. Trying to compile emacs under GNUstep hasn't worked for a long time as far as I am aware. It would make a nice addition to the toolkit. |
Beta Was this translation helpful? Give feedback.
-
@snunez1 It would be nice to have Emacs.app for everyday usage but... I've tried current version from master. It is running but almost unusable - randomly crashes, scrollbars buggy, font settings doesn't applied from ~/.emacs, menu flickers on almost any action. It seems GNUstep support needs huge amount of work to make Emacs.app useful. I'd like to have time to do that work, but I don't right now. Any volunteers? |
Beta Was this translation helpful? Give feedback.
-
It sounds like you have got farther than I. Yesterday I wasn't even able to get it to compile. I've reported it to the GNUstep maintainers. Perhaps we can mark this one as an enhancement or nice-to-have and return to it as time permits. |
Beta Was this translation helpful? Give feedback.
-
Hey all, I'm an Emacs user and I occasionally submit patches to the Emacs project. I was able to get the latest Emacs.app to compile against the latest NEXTSPACE but it involved a couple minor patches of the code and CentOS 7. It seems quite stable, but I'll report back if that proves otherwise. I am noticing the font problem, but everything else seems fine. I'm going to work on getting the patch submitted upstream to Emacs first. After I have gotten it merged, I'll write a blog article on how to compile Emacs.app on NEXTSPACE. And after that, I'm going to prepare two Ansible playbooks. One will convert a minimal CentOS 7 instance into a NEXTSPACE workstation. The second will convert a minimal CentOS7 instance into a NEXTSPACE developer workstation with the latest version and source of NEXTSPACE as well as a brand new Emacs.app. Emacs.app is probably our best bet for writing serious Objective-C code. |
Beta Was this translation helpful? Give feedback.
-
Fantastic! Please update this issue when the 'blog comes out so we can
follow along...
…On Fri, Apr 17, 2020 at 2:05 PM Ahmed Khanzada ***@***.***> wrote:
Hey all, I'm an Emacs user and I occasionally submit patches to the Emacs
project. I was able to get the latest Emacs.app to compile against the
latest NEXTSPACE but it involved a couple minor patches of the code and
CentOS 7.
It seems quite stable, but I'll report back if that proves otherwise. I am
noticing the font problem, but everything else seems fine.
I'm going to work on getting the patch submitted upstream to Emacs first.
After I have gotten it merged, I'll write a blog article on how to compile
Emacs.app on NEXTSPACE.
And after that, I'm going to prepare two Ansible playbooks. One will
convert a minimal CentOS 7 instance into a NEXTSPACE workstation. The
second will convert a minimal CentOS7 instance into a NEXTSPACE
*developer* workstation with the latest version and source of NEXTSPACE
as well as a brand new Emacs.app.
Emacs.app is probably our best bet for writing serious Objective-C code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#246 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3KJ4BSEHHAN5JZSBZSWJ3RM7WSRANCNFSM4LWH5A2Q>
.
|
Beta Was this translation helpful? Give feedback.
-
@enzuru Please build Emacs.app against |
Beta Was this translation helpful? Give feedback.
-
@nextspace I've successfully built the latest Emacs.app against the latest nextspace GNUstep branches. While I do notice crashing (usually when I am closing Emacs, meaning it is not costing me much) and some font issues, Emacs.app is largely usable. Some Objective-C code was refactored recently in Emacs which caused the latest to break. I just submitted a patch to the emacs-devel mailing list. As soon as the code is merged, I'll write that blog. Afterwards, we can setup an Emacs branch on GitHub for further improvement. |
Beta Was this translation helpful? Give feedback.
-
@enzuru I'm using emacs for development too. Also org-mode is very good. I dream about full-featured Emacs.app, actually. Looking for your emacs fork/branch. |
Beta Was this translation helpful? Give feedback.
-
Blog post here: https://medium.com/@enzuru/compiling-emacs-app-on-nextspace-centos-7-12e0be45f502 Next project is making the NEXTSTEP Ansible scripts for end users. |
Beta Was this translation helpful? Give feedback.
-
@enzuru You've mentioned NEXTSTEP several times through your blog post. Is it intentional or just typos? |
Beta Was this translation helpful? Give feedback.
-
@trunkmaster a bit tired and groggy... that was a mistake. Will fix. |
Beta Was this translation helpful? Give feedback.
-
@enzuru no problem. It's a proof of correct name I've choosen. ;) BTW, you don't need to patch CentOS to overcome |
Beta Was this translation helpful? Give feedback.
-
@trunkmaster I suggest you fork this repo if you want to start making extensive changes to Emacs.app: https://github.com/emacs-mirror/emacs If you share notes with me, perhaps I can help as well. |
Beta Was this translation helpful? Give feedback.
-
Wow! I badly need good autocompletion for Objective-C. I'm not happy with auto-complete, company, irony, yas and their combinations. Also I think it will be good idea to make good .emacs and emacs.d for NEXTSPACE (and GNUstep of course) development. These files can be put into https://github.com/trunkmaster/nextspace/tree/master/System/etc/skel. It might be a part of some -devel packages. What do you think? |
Beta Was this translation helpful? Give feedback.
-
@trunkmaster every Emacs user already has their own .emacs.d, so I think it would be better to document the process of setting up Emacs.app (or vanilla Emacs) with CCLS along with whatever other elisp libraries we need. CCLS is editor agnostic, so it's possible that we should document that CCLS is basically required for an Xcode-style experience, and that any editor with a CCLS plugin will do. How we can start building documentation together is I'll make a first pass using my blog (to get information out there for early adopters) and then you (or me) can go ahead and adapt the appropriate bits to the "official" documentation. |
Beta Was this translation helpful? Give feedback.
-
@trunkmaster blog post instructions here: https://medium.com/@enzuru/setting-up-emacs-as-a-modern-objective-c-ide-ffa57d9e8a75 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@enzuru nice post, thanks. I'll play a little with this. |
Beta Was this translation helpful? Give feedback.
-
@tsuu32 You should better compile Emacs agains master branch of NEXTSPACE. I've saw that type of crashes with old GNUstep libraries. NEXTSPACE 0.85 contains quite old ones. The next release will be based on the latest GNUstep libraries. |
Beta Was this translation helpful? Give feedback.
-
@enzuru i've played a bit with
Overall impression - quite fast, functional but not accurate autocompletion solution. I failed to make autocompletion for NSTimer, NSNotificationCenter methods ('lsp' offered me a methods from NSTableView or something like this instead). However it managed to find methods list for NSString. It's strange... Could you please share your impression or test results of above mentioned? |
Beta Was this translation helpful? Give feedback.
-
@trunkmaster so it appears to me that the autocompletion of class methods are not working. So if I type However, if I go ahead and create the timer, then I'll see if I can work with the upstream projects to get this fixed. Might need to wait for the move to Fedora first, as compiling |
Beta Was this translation helpful? Give feedback.
-
@enzuru one clarification: not all classes' class methods affected. For instance, NSString class methods autocompletion works for me. |
Beta Was this translation helpful? Give feedback.
-
Any obvious differences in header style?
… On Apr 25, 2020, at 8:01, Sergii Stoian ***@***.***> wrote:
@enzuru one clarification: not all classes' class methods affected. For instance, NSString class methods autocompletion works for me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
I installed upstream gnustep and rebuilt emacs. I found some limitations,
...and some redisplay issue. |
Beta Was this translation helpful? Give feedback.
-
I see Wiki https://github.com/trunkmaster/nextspace/wiki/Keyboard and understand it is intended. |
Beta Was this translation helpful? Give feedback.
-
@tsuu32 sure. Alt (Command) is reserved for applications purposes. For example, if you run emacs in Terminal Cmd+x is reserved for "Edit->Cut" menu item action. |
Beta Was this translation helpful? Give feedback.
-
If there are still issues with Emacs, it might be beneficial to look at the macOS part of Emacs. I don't remember off the top of my head if it requires a separate patch or not, but the Emacs.app port ( |
Beta Was this translation helpful? Give feedback.
-
@queernix my experience is actually that macOS is the problem, because Emacs.app maintainers make MacOS changes that sometimes breaks GNUstep support, since they are both "nextstep" versions, but with minor and subtle differences. And since there are 100x as many macOS users as GNUstep... it means our builds get broken. |
Beta Was this translation helpful? Give feedback.
-
Nice project. Have you considered adding emacs to the list of tools/projects?
Beta Was this translation helpful? Give feedback.
All reactions