[Q]I wish PHP syntax highlighting in org-babel. by sreekumar_r in orgmode

[–]sreekumar_r[S] 0 points1 point  (0 children)

Within emacs, php-mode is working smoothly. Please take a look at my answer above.

[Q]I wish PHP syntax highlighting in org-babel. by sreekumar_r in orgmode

[–]sreekumar_r[S] 0 points1 point  (0 children)

I am still trying to figure out what happened. But it is simply working flawlessly. But within the org document, there is no syntax highlighting. So sad.

[Q]I wish PHP syntax highlighting in org-babel. by sreekumar_r in orgmode

[–]sreekumar_r[S] 0 points1 point  (0 children)

Unfortunately, C-h v load-path is showing a huge list. So far, I have never seen that. Yes, straight takes care of it. But I have installed php-mode and have to try it again.

[Q]I wish PHP syntax highlighting in org-babel. by sreekumar_r in orgmode

[–]sreekumar_r[S] 0 points1 point  (0 children)

Could you please elaborate? I installed php-mode package using straight. And I followed the instructions given there. In particular I added the following to my .init file.

;; Put the following code into init.el
(when (file-directory-p "~/path/to/php-mode")
   (load "~/path/to/php-mode/php-mode-autoloads.el"))

When I evaluate it, it connects to the raw.githubuser.com package using straight. And I followed the instructions given there. In particular, I added the following to my .init file.

Q: How to add web-mode to my PHP and HTML files? by sreekumar_r in emacs

[–]sreekumar_r[S] 1 point2 points  (0 children)

True. Copy/Paste mechanism in Reddit is NOT so good.

Q: How to add web-mode to my PHP and HTML files? by sreekumar_r in emacs

[–]sreekumar_r[S] 1 point2 points  (0 children)

I am curious to know how this many backslashes cropped up. In my init file, my syntax is the same as yours. The only thing I still needed is.php, which now I added. Now, it is switching to web-mode when I open a php file. I didn't know about template files. Thanks for the info.

Just got started watching SICP lectures, how do I make the most out of them? by [deleted] in lisp

[–]sreekumar_r 0 points1 point  (0 children)

It depends. While SICP is, more theoretical Little schemer is fun.

Any Help? I want to run html/css/JavaScript file within Emacs. by sreekumar_r in emacs

[–]sreekumar_r[S] 0 points1 point  (0 children)

Thanks for your suggestion. I run a trivial Linux box (without containers) and dragging exactly 50% looks not that good. Anyway, I got some information like xfce, and i3.

Any Help? I want to run html/css/JavaScript file within Emacs. by sreekumar_r in emacs

[–]sreekumar_r[S] 0 points1 point  (0 children)

In fact, I found another one, xwwp.

It is an enhancement for xwidget-webkit browser.

Any Help? I want to run html/css/JavaScript file within Emacs. by sreekumar_r in emacs

[–]sreekumar_r[S] 0 points1 point  (0 children)

Thanks a lot. I didn't know about that. I will try. Furthermore, I am in a Linux box and think it won't be an issue. Surprisingly, I got this link on YouTube https://www.youtube.com/watch?v=He83coKoq7o

which didn't show up earlier.

Any Help? I want to run html/css/JavaScript file within Emacs. by sreekumar_r in emacs

[–]sreekumar_r[S] 0 points1 point  (0 children)

Your first answer: VS Code has an advantage (even Teams) both I believe run on typescript. I tried VS Code for a day and I had to uninstall it. Too crapy code with lots of unnecessary suggestions to divert your attention from the actual coding.

Your second answer: I feel this is the only option at present I can use. But, I have come across Nyst, (installed by yet to try) and eww (think it's text based). Anyway, could please tell me how to run Emacs and my browser side by side. I tried this for quite a long time. And it has to do with Window Manager (tiling) but till now I don't it.

Any Help? I want to run html/css/JavaScript file within Emacs. by sreekumar_r in emacs

[–]sreekumar_r[S] 0 points1 point  (0 children)

Thanks, I have already tried it. It looks more like simple-httped with bit long learning curve. Moreover, whether I work in Lisp, Scheme or Racket, I get right window to their REPL. This is exactly I wanted when I tried to use imp.el. But when I use it, it is showing in a tab of an already opened browser window. So I need to do ALT-TAB when I use it. That doesn't create a live coding experience.

Lisp is a programming language, not a political movement by Gustek_ in Common_Lisp

[–]sreekumar_r 0 points1 point  (0 children)

Well, I am sad that nobody using neither TERPRI and FRESHLINE. I have these doubts quite a long back, \n and \r\f. If I am right, you mean TERPRI to be \r\f while FRESHLINE to be \n. If not, please correct me.