When using Carbon Emacs (v22) from an external application (ex. Unity 3D) files sent to Carbon Emacs would jump to the line number requested by the external application (ie. double click on an error message editor selected in preferences is started with file at error line number). For some reason the new Cocoa Emacs (v23) no longer does this. Instead it simply opens the file, but does not jump to the line number requested by the external application.
How to get Cocoa Emacs to jump to line number from external application?
361 views Asked by Fernando At
1
There are 1 answers
Related Questions in EMACS
- How can I make 'emacsclient' open in native fullscreen every time I launch it from the terminal in macOS?
- emacsclient does not connect inside ubuntu container
- Emacs use .emacs by default instead .emacs.d/init.el
- Setting up Macaulay 2 on emacs
- org-mime add caption to exported images
- Use the same export attribute for all src-blocks
- Tags Development Tools
- Emacs 29.2 unable to find theme file
- How to automatically allow the execution of code action from HLS in emacs?
- Org-babel remote inline images with TRAMP not exporting in org export
- find and replace regex like that can deal with nested brackets
- Inheriting from variadic types messes up template member function indentation in Emacs
- Invoking org-store-link interactively, errors on calling org-man-store-link
- Disable session save in doom emacs
- How do you connect to a remote emacs server using Microsoft dev tunnels
Related Questions in CARBON-EMACS
- how can I use Aqua Emacs's Chinese font in Carbon Emacs?
- Carbon Emacs: no `focus' in minibuffer on incremental search
- Mac os x: How to have makefile reference /Applications/application
- how can I fire up carbon emacs (as editor instead of emacs in default) to edit a file under terminal.app?
- emacs nxhtml-mode[No match]
- transient-mark-mode permanently on
- Emacs stops loading at vc-git
- Where to put .emacs file in Carbon Emacs?
- emacs 23 on OS X: mailto links & calling compose-mail?
- emacs 23 on OS X: how to open web links from emacs?
- Carbon emacs problem
- Yanking text into a terminal running in Emacs
- How to get Cocoa Emacs to jump to line number from external application?
- Show tabs for buffers in carbon emacs?
- CarbonEmacs, symbolic links and dired-find-file
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Not sure what command line Unity 3D was using to fire up Carbon Emacs correctly for you, but it looks like you can open a file at a given position in Emacs 23 using the following:
where 4 is the line number, and 3 is the column number. Note that the emacsclient you execute should be the one matching your emacs; under OS X, you'll find a
/usr/bin/emacsclient, but you should really be executing/Applications/Emacs.app/Contents/MacOS/bin/emacsclientinstead.You can also use a small helper application to make Emacs respond to emacs:// URLs containing line and column args. I wrote about it here.