Comments (7)
Thank you for your interest!
That is very weird. I am also on emacs 26.1 and I see browse-url-default-browser
defined in browse-url.el
which is part of the regular codebase?
What happens if you do a C-h f browse-url-default-browser
? do you see the function defined?
from mermaid-mode.
@abrochard I don't have that function defined... And I have browse-url.el
installed.
As I said in the OP, I'm using Ubuntu 19.04. Maybe something is different in Ubuntu from your distro.
from mermaid-mode.
So weird. That would be an interesting thing to ask on a forum or something.
As a workaround, I propose you define the function yourself?
https://github.com/emacs-mirror/emacs/blob/d0e2a341dd9a9a365fd311748df024ecb25b70ec/lisp/net/browse-url.el#L924
You could stick that guy into your config?
from mermaid-mode.
How about using browse-url-xdg-open
instead of browse-url-default-browser
? Doesn't that work?
from mermaid-mode.
Closed by mistake... sorry...
from mermaid-mode.
Fixed it!
Was using use-package
to pull mermaid-mode
. Had to (require 'browse-url)
in package initialization. Seems to be working fine now.
Thanks!
from mermaid-mode.
Awesome! Thank you! I wonder if I should add that require in the package....
from mermaid-mode.
Related Issues (19)
- How to use it in org mode HOT 1
- Difference between mermaid-mode versus ob-mermaid? HOT 1
- Support for ER Diagram Syntax and Indentation HOT 1
- mermaid-mode redefines ob-mermaid org-babel-execute:mermaid HOT 1
- Add mermaid-compile-region and mermaid-open-region-in-browser HOT 3
- Insert sample diagrams via keybinding HOT 3
- can mermaid-mode support chinese? HOT 4
- On sequence diagrams, the actor keyword is not supported
- Comments not given correct face
- FYI: Configuration for running mmdc via mermaid-cli docker image HOT 3
- Consider adding file extensions to auto-mode-alist HOT 3
- auto-mode-alist regex error HOT 4
- Indentation appears after cursor on new line HOT 2
- Error Handling/reporting of diagram errors
- First line indentation issue
- Does mermaid-mode supports auto-suggestion similar to the mermaid.live editor? HOT 1
- mermaid-mode affects indentation in git-commit-mode HOT 1
- Specify mermaid.cli flags HOT 3
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 mermaid-mode.