LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-28-2010, 03:41 PM   #1
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Rep: Reputation: 40
Common Lisp tuning for Gedit


Hi,

i need to get gedit to highlight lisp source code as well as provide auto indentation.(because as you may know , lisp programming without auto indentation is IMPOSSIBLE)

now so far i've searched the web and tried some "solutions" but didn't work so far , for instance this post here promises syntax highlighting but suggesting to install 2 files , unfortunately it seems to do nothing


any help would be appreciate.

P.S i'm aware of emacs and i'm trying to get rid of it , so please don't suggest any emacs-related solutions!
 
Old 08-28-2010, 04:15 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
Try Kate.
 
Old 08-28-2010, 04:25 PM   #3
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by kilgoretrout View Post
Try Kate.
Kate? what is that a gedit plugin or a whole new editor in itself?

well i might check it out , but i really prefer a gedit solution because i want to author all my projects with one single editor rather than running a handful of them , besides gedit is quite established and rather smart just as i want it...

cheers
 
Old 08-28-2010, 07:40 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Kate is the "KDE Advanced Text Editor".

Is supports many syntaxes and has many features.
 
Old 08-28-2010, 07:58 PM   #5
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by MTK358 View Post
Kate is the "KDE Advanced Text Editor".

Is supports many syntaxes and has many features.
hi ,

well to be quite frank and without you getting upset , i've tested this kate and i think it sucks to be honest...

remember i'm looking to replace emacs for lisp programming (preferably using gedit) that means the alternative has to offer the same necessary emacs functionality (i.e proper highlighting and auto identation)

kate unfortunately , lacks both the former is insufficient and the latter is missing all together , add to that kate can't be compared to the wittiness and smartness of gedit , for instance when i open several documents from nautilus it opens seperate windows/processes for each file and i've to explicitly use the open command from the file menu to tell it to do otherwise , in short kate appears to be a dumm unintelligent editor therefore it's disqualified from the job!

please concentrate on gedit solutions , all i need is to get the lisp specific highlighting and auto identation working , that's all...

Thanks in Advance
 
Old 08-28-2010, 08:01 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Quote:
well to be quite frank and without you getting upset , i've tested this kate and i think it sucks to be honest...

remember i'm looking to replace emacs for lisp programming (preferably using gedit) that means the alternative has to offer the same necessary emacs functionality (i.e proper highlighting and auto identation)
Well, without sounding cynical, good luck - replacing emacs with something equally good to develop lisp?!
 
Old 08-28-2010, 08:12 PM   #7
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by sycamorex View Post
Well, without sounding cynical, good luck - replacing emacs with something equally good to develop lisp?!
HAHA

and that's exactly the reason why i'm posting here ... i know what emacs is capable of !

apart from the all geeky features of emacs such as built in console , slime for lisp and whatnot i'm only interested in 2 crucial features that is proper highlighting and auto identation of the line in relation to the previous one , with the press of a button (i.e tab).
and of course with the assumption that the editor itself is window based and is intelligent in general (i.e no terminal editors such vim)

i think gedit has the potential to pull it off but i don't know know , probably some gedit gurus could prove to be handy

Last edited by entz; 08-28-2010 at 08:13 PM.
 
Old 08-28-2010, 08:16 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
What's wrong with emacs?

(If you don't like it, I understand, because I don't like it either!)
 
Old 08-28-2010, 08:58 PM   #9
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
Kate can be configured to highlight and indent Common Lisp, but you do not appear to be interested so I won't go into to detail.
 
Old 08-29-2010, 05:47 PM   #10
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by MTK358 View Post
What's wrong with emacs?

(If you don't like it, I understand, because I don't like it either!)
well emacs is sort of an old rabbit , it has lot of features and has some seen lots of action but the wear and tear of the years had left its mark on it...

there a couple of minor annoyances which are due to the fact that emacs predates gnome and most other desktop based applications , for instance copying text using keyboard shortcuts i.e (C + c) will copy the text to an internal clipboard rather than to the desktop clipboard to which it actually should copy , the result is that outside of emacs you can't paste the test that you've copied.
secondly , opening another file from the window manager will spawn a separate new instance of the editor which is kinda stupid , instead it should check for existing processes and append to the file buffer , in other words it lacks intelligence .

that's just a small collection of issues , modern editors such as gedit manage to perfectly integrate within the context of the desktop environment such as gnome therefore providing a powerful experience ...and that's why i want replace emacs with gedit .
i think emacs has served its time ... but apparently i've to stick with it because it's lisp capabilities...etc

Quote:
Kate can be configured to highlight and indent Common Lisp, but you do not appear to be interested so I won't go into to detail.
no i'm not interested in that, however if you can accomplish the same in gedit then i'd all ears!
 
Old 08-29-2010, 07:04 PM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by entz View Post
for instance copying text using keyboard shortcuts i.e (C + c) will copy the text to an internal clipboard
Did you know that you can copy text be selecting it (no Ctrl+C or context menus) and paste it using the middle mouse button?
 
Old 08-30-2010, 08:10 AM   #12
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by MTK358 View Post
Did you know that you can copy text be selecting it (no Ctrl+C or context menus) and paste it using the middle mouse button?

i know about it and it's one of the minor features that annoy the hell out of me , because everytime i scroll down emacs accidentally pastes something .....pssshhh (pure frustration)

besides I INSIST on the C + c / C + v , the problem with those that emacs has its own implementation that is apparently incompatible wit the system wide standard of gnome.....(as explained in more detail in my last post)
 
Old 08-30-2010, 08:46 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
For me the middle-click-to-paste is one of the best features of X. I can't believe how anyone can live without it!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Common Lisp functions. zaxonus Programming 2 07-09-2010 04:30 PM
Common Lisp deep copy PatrickNew Programming 1 10-13-2009 12:02 AM
can I make C + common lisp simpler than C alone? ta0kira Programming 7 03-08-2009 10:56 PM
Programming Ideas in Common Lisp Trizon Programming 1 03-03-2008 02:07 PM
Common Lisp stand alone question Trizon Programming 5 05-23-2007 09:07 AM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration