LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-02-2004, 10:44 PM   #1
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Rep: Reputation: 15
Can emacs easily do what textpad does?


Can emacs easily do what textpad does?

When Richard Stallman showed emacs to me in 1977,
I wanted some of the features. But I was later stupid enough
to also want to be part of the crowd going for m$-dos and
windows 3++$$. So after shelling out $4digits++ for
multiple copies of multiple versions and seeing a never
ending mess of patches on bugs, I tried to insulate myself by
using textpad, a shareware program sort of like emacs. Now I am
using Open software most of the time now and want it exclusively
sometime near in the future. But I must do it so that my
students and readers can/will follow me.

However there are a few things textpad does which I can't figure
out how to do in emacs21. I know the smart aleck answer is use Lisp
and you can do everything. But I am a professor and author doing
most of my teaching & writing in third world countries like Indonesia
and China where nearly all students just steal m$ and use simple
minded shareware or commercial programs without paying for them.
Even the ones who could program are so mired in corruption and
theft that they rarely program anything.

In textpad, we can search an entire hard disk looking for
regexp. When results are found, textpad lists all of the
pathnames and a snip from the line containing the expression.
We can just click on the pathname and textpad will start
editing that file. If it is html, we right-click and textpad
sends a message for the default browser to show it.

In emacs21, if I start a search at / it doesn't take long to
crash. If I am crippled to do only one directory at a time
it always ends with the message that grep terminated abnormally.
Once I have pathnames, I have to mark, move, C-w, C-y, C-x C-f,
C-y and then if it is html I have to hit the browser with the
mouse then erase the default URL then C-y.

I am sure that emacs21 and Lisp can both do things textpad
can't do but will someone help me so that I can help my students
get started with this stuff that every beginner needs to do
everyday if they are going to be well organized and learn huge
systems such as debian on their own. In developed countries,
people just jump on google and find stuff. Here most poor
students don't have Internet access and those who do are on
such poor connections that they can't search as fast as
textpad.

I asked here first because I usually get good answers here.
I was shocked to not find an emacs forum. If someone doesn't
know the answer but knows a better emacs forum please
point me there.
Thanks!
 
Old 02-02-2004, 11:12 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

I have no idea how you invoke the search in Emacs,
but haven't got any problems with crashing it using
M-x find-grep-dired
That's emacs 21.2.2, Slackware build ...


Cheers,
Tink
 
Old 02-03-2004, 05:34 AM   #3
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Rep: Reputation: 30
for searching forward
C-s, for reverse C-r
to find again C-s ,or C-r.
Have alook at emacs manul, you can practically do everything. U can always open a new buffer to open a given file.
http://www.delorie.com/gnu/docs/emacs/emacs_toc.html
 
  


Reply



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
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
Find software like TextPad for Win32 thuan1975 Linux - Software 3 07-18-2005 10:34 AM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
Textpad for linux?? zdAntz Linux - Software 27 01-29-2004 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration