Re: what are you using to write webpages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On fre, 2005-01-21 at 15:25 -0700, Guy Fraser wrote:
> On Fri, 2005-21-01 at 23:11 +0100, August wrote:
> > On fre, 2005-01-21 at 18:31 +0100, Rolf Gerrits wrote: 
> > > BB Cao wrote:
> > > 
> > > >Hi Everyone,
> > > >
> > > >I am starting to write a webpage for my own, just
> > > >little curious in choosing softwares:
> > > >What are you using to write webpages?
> > > >
> > > >Thanks!
> > > >
> > > >Best,
> > > > BB Cao
> > > >
> > > >__________________________________________________
> > > >Do You Yahoo!?
> > > >Tired of spam?  Yahoo! Mail has the best spam protection around 
> > > >http://mail.yahoo.com 
> > > >
> > > >  
> > > >
> > > Mozilla (Composer) works nice.
> > > 
> > > Rolf
> > > 
> > 
> > I use GNU Emacs with Tidy
> > (http://tidy.sourceforge.net/src/tidy_src.tgz). I have the following
> > lines in my .emacs file:
> > 
> > (defcustom my-tidy-command "tidy -indent" "")
> > 
> > (defun my-tidy-buffer ()
> >   "(my-tidy-buffer) runs tidy on the current buffer."
> >   (interactive)
> >   (let ((error-buffer "*tidy-errors*")
> >         (saved-point (point)))
> >     (when (get-buffer error-buffer)
> >       (kill-buffer error-buffer))
> >     (shell-command-on-region (point-min) (point-max) 
> > 			my-tidy-command	nil t error-buffer)
> >     (deactivate-mark) ;seems like `shell-command-on-region' 
> > 			; modifies the mark
> >     (goto-char (min saved-point (point-max)))
> >     (set-buffer error-buffer)
> >     (compilation-mode)
> >     (goto-char (point-min))
> >     (unless (looking-at "\\<line\\>")
> >       (delete-window (get-buffer-window error-buffer))
> >       (message "Tidy: No warnings or errors were found."))))
> > 
> > (defun my-sgml-mode-hook ()
> >   (local-set-key [f11] 'my-tidy-buffer))
> > 
> > -- 
> > August
> Ooh, yum that looks tasty.;-[
> 
> How about vi. ;-)
> Just kidding.
> 
> I use nedit, vi or what ever I can get my hands on, but 
> for someone who is just learning, Quanta or Mozilla composer 
> would be a good place to start. I would also suggest 
> looking at the generated code, to learn how things work.

OK, I see your point. Some Emacs users might find the info useful
though. There are also complete Emacs tidy.el modes out there, but for
me this is all I need (the less code the better).

-- 
August


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux