My Emacs Web Development Environment Project

Tuesday, October 7, 2008

New Update for Emacs Php Mode

You can download here http://mewde.googlecode.com/files/php-mode-new.el
It is basically last Sourceforge php-mode and my old php mode mix; all sourceforge php-mode features is working (indentation; tag generation,showing function argument list, function reference, php manual search) plus hippie-expand base php-templates; function and all open buffers word completion with tab key; function templates and extra indentation with different keys.
Some big differences; code comments inserting sourceforge php-mode style; php-templates doesn't automatic insert; Class-function templates with shortcuts; otherwise; M-x php-template-TAB list all options, then select and insert.  We don't have old "Sources" menu, etc...But we have automatic imenu, outline and Templates menu; Header and Footer templates, Class and Function templates with shortcuts...
I was working with this mode past two months; It seems quite stable; works great for me; it supports php5 and php5 outlines; and it works just good with flymake-php; you don't need a big-fat php ide:) I tested with emacs23 environment; both vista and ubundu hardy; even works with yasnippet mode together; just disable abbrev-minor-mode, or if you are insert phptemplate, function etc; after typing and tabbing completion; type M-Space then going on; it works fine...
For example; I don't use any multiple major mode for php; I put all yasnipet html snippets to inside php snippets; and I use with new php-mode for complex php-html code pages.
I have big updates for Mewde Project; like yas-snippets support, actionscript3 and mxml support with flymake and flyparse-mode; new css-mode with syntax checking and flyparse-mode, js2-mode support with flyparse-mode, flymake-mode for php-c#-java, vcs backend modes support(like darcs-svn-bzr-git). I need better setup and I'm working on it; soon as possible, stay tune...

47 comments:

Deus said...

Great job with the php mode.I haven't tried it but definately will.
Glad to see that Emacs is finally getting serious with php-mode.

The other php-mode versions are also improved, I'm in no position to compare.

Your mode has caught up with php5 constants, etc.
minor note the DATE_* constants are missing.

Deus said...

Hey, quick notes from trying your php-mode-improved

It's really good.
things work nice and smooth and its loaded with features.

The tab key is used for name completion, but old habits are hard to break. Perhaps you can assign:

<C-Tab> for name completion
and keep <Tab> for indentation.

Minor point: true, false, null keywords highlighted as a warning. Change the applicable regex to case insensitive. Lowercase is OK with php.

priyom24 said...

I experienced a colorado Web Design which provides affordable services to its clients. They got intelligent people to help their customers.

walkerkellner said...

成人視訊,色情影片,台灣無限貼圖,美女交友,成人,6k聊天室,ut聊天室,免費視訊,免費視訊,台灣美女貼圖區,免費交友,正妹視訊,成人視訊,正妹星球,情色視訊,dudu 嘟嘟貼圖區,18成人,美女交友,85cc成人片,成人影片,免費視訊,f 罩杯美女圖片,美女交友,成人文學,aqaq 視訊聊天室,av貼圖,美女交友,ut聊天室,080視訊聊天室,視訊聊天室,ut男同志聊天室,免費交友,免費視訊聊天,成人動畫,人之初貼圖區,免費視訊,同志聊天室,ut聊天室,成人視訊,交友聊天室,尼克成人,成人動漫,交友戀愛小站,免費交友

籃球 said...

以簡單的行為愉悅他人的心靈,勝過千人低頭禱告。........................................

控制 said...

haha~ funny! thank you for your share~ ........................................

驚訝 said...

若對自己誠實,日積月累,就無法對別人不忠了。........................................

欣盈 said...

笑口常開~~天天開心........................................

林于名 said...

只用微笑說話的人,才能擔當重任。..............................

佳芳佳芳 said...

你要保守你的心,勝過保守一切,因為一生的果效是由心發出..............................

王俊貴 said...

He that travels far knows much.......................................................

WesA_Hardaway2254 said...

adult成人情色激情成人聊天網情色影片色情俱樂部性愛影片情趣淫水影音情色限制級照片live show女生自慰影片超屌成人情色留言板淫亂女自慰免費視訊辣妹巨乳鹹濕色情影音聊天自拍走光照片免費情色av圖片亞洲情色論壇淫慾免費裸女圖片裙底風光台灣色情論壇一夜正妹淫娃網情色下載a圖片全裸淫蕩女人情色影音聊天高潮自慰色情圖片成人自拍女生自慰亞洲成人色情dvd舔乳頭女生自慰影片台灣色情網站台灣性樂園sex story情色影音激情聊天室嘿咻情色自拍

GenovevaPer32669 said...

Well done!........................................

RennaSc said...

faith will move mountains. ....................................................

GusF_Finkbeiner1209 said...

一句話,那就是,"船到橋頭自然直."

韋于倫成 said...

一沙一世界,一花一天堂,掌中握無限,剎那即永恆..................................................

紅豆 said...

IS VERY GOOD..............................

奎峰 said...

三分之一的人生,可以決定另外三分之二的人生!!共勉哦! ....................................................

韋于倫成 said...

感覺很好的blog,祝你開心喔..................................................

佩璇 said...

工作,是愛的具體化~~~~努力吧!......................................................

趙佳治 said...

Never put both feet in your mouth at the same time, because then you will not have a leg to stand on. ....................................................

暴枝盈 said...

不簡單..一路走來辛苦了- ....................................................

洪筱婷 said...

hi 上來跟大家問聲好~~ 別玩得太累~~.................................................................

佳燕 said...

所有的資產,在不被諒解時,都成了負債....................................................................

韋以韋以 said...

成熟,就是有能力適應生活中的模糊。.................................................................

文辰文辰 said...

成熟,就是有能力適應生活中的模糊。.................................................................

嘉琬嘉琬 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................

琇白 said...

It takes all kinds to make a world.............................................................

吳吳 said...

今天心情很好..你心情好嗎?..................................................................

懿綺懿綺 said...

Rome was not built in a day............................................................

原秋原秋 said...

快樂,是享受工作過程的結果............................................................

黃惠雯 said...

到處盡心,即為快事;舉步踏實,便是坦途。.......................................................

RheaTur玄雨 said...

單純喜歡你的部落格 留個言跟您問聲好~~............................................................

莊雅和莊雅和莊雅和 said...

很耐斯的部落格,留言支持你繼續加油..................................................................

王美妹 said...

良言一句三冬暖,惡語傷人六月寒。......................................................................

正玲宇軒 said...

單純喜歡你的部落格,希望你能收到我的感謝 ^^.................................................................

許惠吟許惠吟 said...

外表往往與事實不符,世人卻容易被外表的裝飾所欺騙。.......................................................

吳林怡廷佳宇 said...

老天爺賦予了強者的能力,就是要他比弱者多擔待..................................................

雅王任 said...

Learning makes a good man better and ill man worse.............................................................

賴成陳韻邦v貞 said...

一時的錯誤不算什麼,錯而不改才是一生中永遠且最大的錯誤..................................................

沈貞李添睿儀 said...

來給你加油打氣!!!保重!!!............................................................

怡楊雯 said...

你要保守你的心,勝過保守一切,因為一生的果效是由心發出................................................

王辛江淑萍康 said...

Poverty tries friends...................................................................

佳張張張張燕張張張張張 said...

你快d upday個blog啦~我等左好耐啦/_愛死呀ling之fans上 ............................................................

佳張張張張燕張張張張張 said...

做些小善事,說些愛的字句,世界更快樂。..................................................

黃英吳思潔吳思潔邦 said...

你不能左右天氣,但你可以改變心情............................................................

孫邦柔 said...

感動 + 感恩 + 感謝(。-ˍ-。 )............................................................