Comments (9)
With regards to your first question I'm not sure what you mean. When the edit-server creates a frame it does use (raise-frame) to ensure it's visible. However I'm not sure if there is special magic for Carbon Emacs.
As far as your second suggestion I can see that being useful. However I don't think you'd need magic links. Certainly adding an option to trigger edits for the page source for file:// links should be easy. For web-pages it might be worth doing something with magic like TRAMP to translate a web address to the file to edit.
In future though please raise separate issues for logically separate problems.
from emacs_chrome.
Okay, sorry, so I'll relate to the first issue, and create another ticket for the second one.
I don't like creating new Emacs frames, I think a new buffer is all you need to edit some text, so when your edit-server does not create a new frame (per my config), I still want it to raise the current frame, obviously.
Thank you.
from emacs_chrome.
Ahh I see what you mean. The indentation was out of wack in the function hiding the broken logic. I've added a (raise-frame) call to edit-server-create-frame even when a new frame isn't created.
Can you test and let me know if that works for you?
from emacs_chrome.
re-opening, should of just hit comment button.
from emacs_chrome.
Just tested -- GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0); Google Chrome 8.0.552.231 (Official Build 69188); Mac OS X 10.6.5 (10H574)
Unfortunately, it still doesn't work.
Moreover, I've tested it without (setq edit-server-new-frame nil)
, and it gives error in process filter: x-create-frame-with-faces: Sorry, this version can only handle one display
(I have one display at the moment, so, this may not be your problem, but making raise-frame
work is even more important now).
Cheers.
from emacs_chrome.
That's very odd. I wonder if this is a Carbon Emacs issue or an Emacs 22 issue as it works on my 23.2.1 on X. I'm assuming that the behaviour of (raise-frame) hasn't changed too much in the last few versions.
Can you check the help text (C-h f raise-frame) lists only the one optional parameter?
from emacs_chrome.
I've been using Carbon Emacs for quite a few years now, and it's always been fully compatible with other GNU Emacs distros.
Not only raise-frame
's signature is the same, but as I said above, emacsclient --eval "(raise-frame)"
does raise the current frame.
from emacs_chrome.
Sorry, just double-checked, it doesn't actually work, it's probably Carbon/osx issue still -- the command line raises the frame below the currently running app (but above all others). Well.. You may close the issue I guess. I should write to Carbon Emacs' author or try and switch to Aquamacs...
from emacs_chrome.
Well there have been work arounds added for Aquaemacs handling as it didn't like make-frame-on-display. If there is an equivalent to the X windows _NET_ACTIVE_WINDOW hack for MacOS it can be included.
from emacs_chrome.
Related Issues (20)
- Do not suggest adding ~/.emacs.d to load-path HOT 1
- Stopped working with Firefox/emacs HOT 3
- Can't use edit-server when using command+tab HOT 5
- edit-server is not in elpa, update README? HOT 5
- README didn't explain that one has to run edit-server-start HOT 1
- Firefox GMail stopped working HOT 19
- Don't close frame when done HOT 8
- How to use this package? HOT 1
- Firefox v1.16 release needs to be made HOT 3
- Frame does not close when leaving web page HOT 1
- No keybinding setting on Firefox? HOT 2
- 'edit-server-abort' should be called when close new frame by click 'X'
- feature request: use wasm instead of emacs editing server HOT 1
- Doesn't work on Brave: net::ERR_BLOCKED_BY_CLIENT HOT 6
- Skipped textareas can remain skipped even after they have been revealed
- Cursor moves to beginning of buffer on save HOT 2
- edit-server-start without browser open eats all keystrokes
- "Edit with Emacs" is slowing down Firefox HOT 10
- Chrome WebStore link is not working... HOT 5
- Manifest version 2 is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs_chrome.